package br.edu.ufcg.dsc.sig.geointerest;

import java.sql.*;

public class ConexaoBD {

	public static Connection getConnection() {

		Connection con = null;
		
		try {

			Class.forName("org.postgresql.Driver");   
			con  = DriverManager.getConnection("jdbc:postgresql://localhost:5432/postgistemplate","admin", "1234");

		} catch(Exception e) {
			e.printStackTrace();
		}

		return con;
	}

}